#!/usr/bin/env python
__author__ = 'vsupacha'

import os
import webapp2
from jinja2 import Environment,FileSystemLoader


class MainHandler(webapp2.RequestHandler):
    def get(self):
        template_values = {}
        template = Jinja2_Env.get_template('templates/main.html')
        self.response.write(template.render(template_values))


Jinja2_Env = Environment(
    loader=FileSystemLoader(os.path.dirname(__file__)),
    extensions=['jinja2.ext.autoescape'],
    autoescape=True)
app = webapp2.WSGIApplication([
    ('/', MainHandler)
], debug=True)
